package com.spring.boot.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.ToString;

@Data
@ToString
@TableName("user_db")
public class User {

	@TableField(exist = false)// 去掉数据库中不存在的字段
	private String userName;
	@TableField(exist = false)
	private String pwd;

	@TableField("name_tb")// 对应数据库的字段名
	private String name;
	private int age;
	private int id;
	private String email;


}
